package com.hot12345.springmvc.admin;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import com.hot12345.common.spring.SpringAbstractController;

@Controller("adminController")
@RequestMapping("/admin")
public class IndexController extends SpringAbstractController {
	
	private final static Log log = LogFactory.getLog(IndexController.class);

	@RequestMapping("/index")
	public ModelAndView index(HttpServletRequest request,HttpServletResponse response, ModelMap modelMap) throws Exception {
		log.debug("index......");
		return new ModelAndView("admin/show");
	}
}
